#ifdef HERZELEID_DESKTOP
 #if _MSC_VER
  #pragma once
 #endif

 #ifndef __HERZELEID_WINDOWACTIVATEDEVENTARGS_INCLUDED__
  #define __HERZELEID_WINDOWACTIVATEDEVENTARGS_INCLUDED__
  #include "HerzeleidCoreWindowActivationState.hxx"
  #include "HerzeleidEventArgsBase.hxx"
  #include "HerzeleidUICore.hxx"

HerzeleidUICoreNamespaceBegin class WindowActivatedEventArgs : public EventArgsBase
{
protected:

	// Members
	CoreWindowActivationState m_eState;													// Activation state of the window at the time the Activated event was raised.

public:

	// Constructs event object
	WindowActivatedEventArgs( 
		_In_ CoreWindowActivationStateConstRef eState =									// Activation state of the window at the time the Activated event was raised.
			CoreWindowActivationState::CodeActivated 
		);
	
	// Properties

	DeclGetPropOnly( CoreWindowActivationStateConst, WindowActivationState );				// Gets the activation state of the window at the time the Activated event was raised.
	inline DeclConstTypedGetterFor( CoreWindowActivationStateConst, WindowActivationState )	// Gets the activation state of the window at the time the Activated event was raised.
	{
		return ( m_eState );
	}

} HerzeleidUICoreNamespaceEnd; 

#endif // !HERZELEID_WINDOWACTIVATEDEVENTARGS_INCLUDED__
#endif // !HERZELEID_DESKTOP
